package com.cmc.cloud.cmclink.doc.entity;

import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import com.cmes.framework.mybatis.core.dataobject.BaseDO;

/**
 * 目的港舱位分配 DO
 *
 * @author 招商轮船-管理员
 */
@TableName("doc_voyage_bsa_pod")
@KeySequence("doc_voyage_bsa_pod_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VoyageBsaPodDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 舱位主信息id
     */
    private Long voyageBsaId;
    /**
     * 目的港
     */
    private String podCodes;
    /**
     * bsa箱量teu
     */
    private Integer bsaTeu;
    /**
     * bsa重量吨
     */
    private Integer bsaTons;
    /**
     * 冷插数
     */
    private Integer rfUnit;
    /**
     * HC(teu)
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer hcTeu;
    /**
     * 危险品占比teu
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private BigDecimal maxDgPercent;
    /**
     * 危险品定额teu
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer maxDgTeu;
    /**
     * 备注
     */
    private String remark;

}
